// DivideExceptionExample.cpp : Defines the entry point for the console application.
//

#include "stdafx.h"
#include <iostream.h>

int main()
{
	int i,j;
	cout<<"Please enter two number"<<endl;
	cin>>i>>j;

	try
	{
		cout<<"The result is "<<i/j<<endl;
	}
	catch(...)
	{
		cout<<"Error"<<endl;
	}
	return 0;
}



